QT       += core gui
QT += multimedia
QT += multimediawidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += /usr/local/json-arm2/include
INCLUDEPATH += /usr/local/openssl-arm/include

INCLUDEPATH += /opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include
INCLUDEPATH += /opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/curl
INCLUDEPATH += /opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/opencv
INCLUDEPATH += /opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/opencv2


LIBS += -L/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib \
        -lopencv_core \
        -lopencv_highgui \
        -lopencv_imgproc \
        -lopencv_videoio \
        -lopencv_imgcodecs \
        -lcurl

LIBS += /usr/local/json-arm2/lib/libjsoncpp.so
LIBS += /usr/local/openssl-arm/lib/libssl.so
LIBS += /usr/local/openssl-arm/lib/libcrypto.so


FORMS += \
    widget.ui

DISTFILES += \
    aip-cpp-sdk-4.16.4/README.md \
    test7.pro.user



SOURCES += \
    main.cpp \
    mythread.cpp \
    widget.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    aip-cpp-sdk-4.16.4/base/base.h \
    aip-cpp-sdk-4.16.4/base/base64.h \
    aip-cpp-sdk-4.16.4/base/http.h \
    aip-cpp-sdk-4.16.4/base/utils.h \
    aip-cpp-sdk-4.16.4/body_analysis.h \
    aip-cpp-sdk-4.16.4/content_censor.h \
    aip-cpp-sdk-4.16.4/face.h \
    aip-cpp-sdk-4.16.4/image_censor.h \
    aip-cpp-sdk-4.16.4/image_classify.h \
    aip-cpp-sdk-4.16.4/image_process.h \
    aip-cpp-sdk-4.16.4/image_search.h \
    aip-cpp-sdk-4.16.4/kg.h \
    aip-cpp-sdk-4.16.4/machine_translation.h \
    aip-cpp-sdk-4.16.4/nlp.h \
    aip-cpp-sdk-4.16.4/ocr.h \
    aip-cpp-sdk-4.16.4/speech.h \
    aip-cpp-sdk-4.16.4/video_censor.h \
    aip-cpp-sdk-4.16.4/voice_censor.h \
    mythread.h \
    widget.h
